package com.manager.core.ad.intercepter;

import com.manager.core.ad.biding.AdRequest;
import com.manager.core.pl190.host668.JWAdBase;

/**
 * @author edy 2022/2/16
 * @emil zh_my_house@163.com
 */
public interface AdIntercepter {

    void intercept(Chain chain, AdIntercepterResponse adIntercepterResponse);

    interface Chain {

        AdRequest request();

        void proceed(AdRequest request, AdIntercepter.AdIntercepterResponse adIntercepterResponse);
    }

    interface AdIntercepterResponse {

        JWAdBase onResult(JWAdBase t);
    }
}
